package com.wjbgn.gobang.server.user.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wjbgn.gobang.server.utils.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * Description: 
 * Create Date: 2022-04-12T20:32:37.046
 * @author wjbgn
 * @version 1.0
 */
@Data
@ApiModel(value = "GameLogDTO", description = "数据传输对象GameLogDTO")
public class GameLogDTO extends PageDTO {

        /**
         * 
         */
        @ApiModelProperty(notes = "")
            @JsonFormat(shape = JsonFormat.Shape.STRING)
        private Integer id;

        /**
         * 
         */
        @ApiModelProperty(notes = "")
        private String username;

        /**
         * 1 胜利 2 失败
         */
        @ApiModelProperty(notes = "1 胜利 2 失败")
        private String status;

        /**
         * 
         */
        @ApiModelProperty(notes = "")
            @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime createTime;

        /**
         * 
         */
        @ApiModelProperty(notes = "")
            @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime updateTime;

        /**
         * 是否删除，1是，0否
         */
        @ApiModelProperty(notes = "是否删除，1是，0否")
        private Integer isDelete;

}
